package com.woniuxy.cloud.ticket52.movieassembly.service.impl;

import com.woniuxy.cloud.ticket52.movieassembly.model.Actor;
import com.woniuxy.cloud.ticket52.movieassembly.dao.ActorMapper;
import com.woniuxy.cloud.ticket52.movieassembly.service.IActorService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 演员信息 服务实现类
 * </p>
 *
 * @author rc
 * @since 2021-05-06
 */
@Service
public class ActorServiceImpl extends ServiceImpl<ActorMapper, Actor> implements IActorService {

    @Autowired
    private ActorMapper mapper;

    @Override
    public Actor findByMid(int movie_id) {
        Actor actor = mapper.findByMid(movie_id);
        return actor;
    }
}
